package cn.iocoder.yudao.module.book.controller.app.plan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AppPlanCreateReqVO {
    @Schema(description = "计划名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty
    private String title;

    @Schema(description = "计划类型", example = "collection|custom")
    @NotEmpty
    private String type;

    @Schema(description = "每天新增数量")
    @NotNull
    private Integer newPerDay;

    @Schema(description = "复习次数")
    @NotNull
    private Integer reviewTimes;

    @Schema(description = "选中的绘本集ID列表")
    private List<Integer> collectionIds;
}


